package com.soriya.nestlive.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("nl_video")
public class VideoEntity extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long channelId;

    private Long categoryId;

    private String videoName;

    private String videoDesc;

    private String source;

    private String path;

    private String cover;

    private Integer duration;

    private Integer viewers;

    private String tags;

    private Integer transFlag;

}
